package clazz.initclass.demoone;

import lombok.extern.slf4j.Slf4j;

/**
 * @author LiDong
 * @version 1.0.0
 * @createTime 3/11/2022 8:24 AM
 */
@Slf4j
public class ParentClass {

    private int parentX;

    public ParentClass() {
        log.info("父类的构造方法...");
        setX(100);
    }

    public void setX(int x) {
        log.info("ParentClass 赋值:{}", x);
        parentX = x;
    }


}
